Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODPart


ExternalizeKinds

The ExternalizeKinds method should write to storage a representation for each part kind within the specified kind list that this part supports.

void ExternalizeKinds (in ODTypeList kindset);
kindset
A reference to a type list specifying a set of part kinds.
DISCUSSION
OpenDoc calls this method. OpenDoc does not ensure that your part supports a subset of the part kinds in the specified kind list; you should write a representation for as many of the part kinds in the specified kind list that your part supports.

A part's ExternalizeKinds method does not specify anything about the ordering of those kinds in the contents property of your part. Make sure that the ordering of the values in your contents property reflects your part editor's fidelity order.

OVERRIDING
When you subclass ODPart, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"The ExternalizeKinds Method" on page 299 in OpenDoc Programmer's Guide.
"The Document Shell and the Document Menu" on page 501 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help